Removed optimization pragmas from module Resource.