Implement hook function to be called for each buffer when project is rescanned