Grammar of object definitions