Removed error handling in middleware; use your own error handler!