docstring edits
remove unnecessary closures
doc edits
add default-value function and tests
add protocols for generic values and functions
extend PGenericOperations