Implement the AddPrototypes method