remove unused controller methods and views