Add support for setting fact hash, source directory, and PE3