Few ruby style tweaks