Small refactoring of LaserBase constructor