Improve the target expression in the deprecation message