Move to rplugin. #10