application api: add rubyonly for some methods