Fix moment deprecation.