Remove unused function.

Probably should've been removed in the previous commit.