Correct argument type for showGeneratedPopup()
Documentation for getPref() and setPref()
(#3)