api: making formatting consistent