Fixed issues with Sinatra.