Remove unused method.

This method was added during development but not used, accidentally left in for previous commit.