Avoid creating a class, which leaks global state