Corrected error in dependency injection example.