Refactored for RestExpress 0.10.0