What were colonial legistlatures?