Added some minor missing definitions.

Added more stuff to support head examples.