Completed doctrine configuration