Edited class 'Controller' with previous declarations and definitions. Is now compilable but not functional.