More deprecated functions
Support deprecated hook Closes #4230