NEW_GEN: The annotation of used declarations was broken due to none of the variable imports did visit the actual declaration and set the used annotation.
NEW_GEN: declare actor constants, actor functions and actor procedures as static to not get duplicate symbols when actor classes are used for several instances.