implemented uniform function call syntax, cleaned up related documentation