Added very basic plugin support.