Changed Plugin.init to give better access to user input.