BasicController.java modified to fix compile error.