Adhere to Ruby idioms.