Fix resource_class call in builder