Add proper methods to allow injection as a resource pack.