Default to slash for empty paths.
Changed unfortunate variable name.
Added ability to pass options to handler-module.