Controversial legislation revises the 184-year-old Treaty of Waitangi granting Maori tribes land rights.