Implement the generic model plugin.