Make sure phaser code is also added for methods

This makes "is DEPRECATED" work on methods