Added internal documentation with appledoc.

Signed-off-by: Esteban Torres <me@estebantorr.es>
Removed unnecessary methods.

Signed-off-by: Esteban Torres <me@estebantorr.es>