[cleanup] Fixed wrong method visibility