Extend beam module by base and new derived classes.