add doctrine extensions