Resources and constants injected.