Adding reference to resources.