Handle head method correctly.