Updated structured text to allow for subclass derivations