Add request handlers in an ugly way.