Added internal documentation that matches appledoc.

Signed-off-by: Esteban Torres <me@estebantorr.es>
Added internal documentation that matches appledoc.
Also removed unnecessary code.

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

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