Remove unused startsWith function