Explicit getters would be better in order to get some type safety. Any reason why you wanted array-like access?