Code duplication. Refactor it into the method above.