Add a remove method for resources