Decorate deprecated functions with wfDeprecated()

Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69