Optional compilation for the new registration method
Error page is shown for invalid route