Added support for common resources to themes