Reverting changes to the initializer and adding methods for getting/setting generic attributes on the request.
Updated the handler for regular expression paths to set a custom attribute containing the captures array.