Refining resource classes and adding documentation