Merge "chore: remove unused and undefined function" into integration