Added PostResource.class