Make this a little less ugly.