custom doctrine types