[path] generalize WEIGHT signature
Merge pull request #21 from smolkaj/generalize-weight-signature

[path] generalize WEIGHT signature