raft: PR feedback.

Removed Get prefix in method names, added assertions and fixed comments.