removed BNFSequences class