Refactoring how revisions gets loaded