Implement index and math metamethods.