Use array syntax for dependency injection, close #32