New South Wales legislation