Change Resource type argument type to string