Revert "Revert "Remove unused method""

This reverts commit 130e0e0505920986c1d4c09ff13f7946c5d93bfe.