Workaround visiblity checks by making things public.
Switching from Ref.Emit to LCG.