only add a new static initializer if we actually have code for it