Add endWith andEndWith methods.