Add: doctrine functions lib