Add stubbed methods for variant type.