Added missing license headers.
Merge branch 'fix/stat' into release/1.2