Removed unused extension methods.