A mock for the Plugin class.

Starting to address #153.