Add event setter and tidy docs