Cleans up code in ArrayAccess