Added return values, as well as having each plugin extend a plugin class.