Add some helper fo the sinatra app.