Move wsme types to new rest file, and rename them to readable things.