Move emit functionality from NullEquivalentStrategy in runtime to generate library