Add more function comments to object.c

This file still needs a lot more love, but hey, it's a start :)