Refactor: Extract rendering helper results to context