Use __getitem__ instead of get method