Added more functions to m, such as thred_attach and method_get_thunk.