DI: Refactored expanding of class name, now uses AnnotationsParser and is expanded only in ContainerBuilder.