code style and remove throwing when generators are unsupported