Make regexp substitution global, so namespace get generated correctly.
Update CHANGELOG.
1.0.4