Add REST application specific components and traits
Override the shutdown handler in rest error handler