Remove doctrine dependency