Complete core extension documentation.

Include minor code cleanup and readme update.