Resource & ApiResource small refactoring.
NoopCache refactoring.