Added the ability to not specify any dependencies array when call ServiceContainer::register