Removed doctrine dependency