emit constants in fn class