Add an op that wrap a python function and uses it as its perform.

This is still missing tests, and is more of a discussion point that a final implementation at this point.