Incorrect plugin type registration

Pull request fixes Incorrect plugin type registration.