Adding method begin_with_tag? and other solved errors