Adding deprecated versions of old code