Added warning for depreciated generate model and generate controller