What about moving this method to the `Resource` class?