Initial outline of GenericPlugin. Does not work yet.