Moved resource initialization to Intent Init.