Fixed bug with remove method in Plugin.pm