add deprecated method hint