added getDI method for easier DI access