Add some functions to controller. Sig handling ~fix.