Added Bem-generation class.