New templated resource system.