Fix form bindings and make entity and form config required in router.