Added functions for adding, renaming & removing methods.