new way of invoking dependencies.