[TASK] Use trait for public method access deprecation