Add @deprecated annotation to contains().