Fix missing docblocks in some functions