Moved private stuff from .h to .m. Added headerdoc.