Working with a replication controller