Re-add prepare_meta and prepare_terms