Rename P to StState and export StState(..) and StRWS(..)