Added the fields to the metadata on the doctrine adapter