Changed Hash#add to private method