Emit static methods instead of virtual