Downside of class vs. module is that this code is duplicated now in `Page` and `Post`. Any way to avoid this?