Change adding of methods and attributes