Added union, star, accept, and a number of other functions