Started implementing object groups. WIP.