Make full use of the propdeps plugin

Sorry for the noise. This is an improved version of #32. It should be functionality equivalent while making better use of the propdeps plugin.