PRD-4379: Added API documentation and a missing helper method.
PRD-4379: Documentation and code-style