Removing controller reference