Add indexing of magic methods