Add support for standalone MockMethods.