Adds res directory.