Some extensions for spine framework with dependency injection