Fix typo in resource decorator.