Add method defines to Model and App.