Some work towards writing some sample plugins (#337) [ci skip].