Fix warnings about using deprecated RestKit methods