Add explicit return values
Add docs for replicator
Fix https://www.pivotaltracker.com/story/show/77941122