Disable deprecated function warnings in SP.