Support registering custom doctrine types from configuration