simplifying psclass definition storage