Add validation and middleware.