Make operators of type Function

Signed-off-by: Daniel Francis <francis@sugarlabs.org>