Refactor some of builder into a common load function