Implement title method

Figured it would be handy to be able to set the title on the fly.