Removed dead code and some Ycp -> Ruby artifacts