Fixing up moment top-level scope