Fixed bug on classes append.
Added a Sphinx directive implementation to be used with codeco.
Added a temporal test to the documentation to test the directive.