Removed unneeded controller code.