Add properties and method for classes and interfaces