Removed dependency on doctrine/common