Changed the ancestor of DefinitionNotFoundException to be \RuntimeException instead of \Exception