Added NancyContext extensions to get a throw exception.