Turning When-changed into a package