Raise error if __all__ is redeclared