make some methods public, apparently sinatra needs 'em.