Remove unused functionality.