Made resource key available to all views