Added error checking annotation.