Deprecated API and warnings are removed