Added CustomContextElementInjector and changed exceptions thrown in
injectors methods.