add stubs for ruby impl