Add some method variants, patch by Evan Cheng