refs #204 Add documentation to plugin functions
refs #204 Substitute hard-coded strings with constants