Implemented permissions checks, added update notifications, probably did other things.