Added error checking to Assets.get.