Fix licences in ORM