Created methods to add classes, methods and attributes.