Added work with doctrine