Add classe with inherits