Cleaning up docs.
Docs cleanup and fix potential bug in actionForClass: