Removing Pdv, adding some useful snippets