Implemented demo plugin. Closes #229.