Subclassing a Custom Resource