Export weight.
Merge pull request #11 from brian-brazil/weight

Export weight.