bus: implement object handler registry
cgroup: minor optimization