version 1.2.0: Use result() instead of invoke() and improve "func arg" capabilities.