Adding subscription management functions. They don't affect the front end at all yet, but they are there.