fix typo where resources were declared as class, should have been module