Pulled use of ReflectionTrait up to AbstractContainer.