take a more express like approach for adding custom handlers