Changed instance parameter to be inheritable, and created some useful derived classes.