Added square-bracket accessor methods