Remove abstract doctrine class