add doctrine type