Refactor for Jekyll 2.0.