added DBRef support