Remove class Resource. It's been replaced by Token.