Fix duplication in post helpers