Add get_title method