Modify RubyArray interface to follow the ruby array spec