Add __all__ and exception in get_content func