Refactor Vertigo factory utility.