Merge branch 'jc/apply-epoch-patch' into next