Define static members before registering element.