Clean up the ruby a bit