Done with writing some sample plugins (closes #337).