Fixes for documents.
Fix three methods to return self