Removed subcaption and caption dependency.  Trying to get refs working.