Refactor RockBasic::init()