Remove superfluous controller code