removing statics in Grammar