Mark functions as methodOf, rather than property