Refactored PS1 construction.