Minor fixes to ruby style things