Fixed add annotation functionality.