Remove DEPRECATION WARNINGs.