Core: implement more kernel behaviour.