Remove warnings for deprecated functions where necessary.

Clang push and pop for deprecated function calls where responds to selector checks have already been performed.