Made resource usages polymorphic