[TASK] Fix usage of obsolete method