Calls to arbitrary CoC functions now work.
Still need more error checking stuff.