compat. for thor/generators