Refactoring. Adds head method.