Helpers, that make code with generators cleaner.