Redistrubuted from euterpe.js with remoded dependency.