Plugins: Use class extending instead of interface implementation

Resolves #25.