Add some handlers and stuff.