Added injection support for a few methods, also added the Util class.