Merge pull request #6 from benoit-pereira-da-silva/master

Normalization of generic weak references (academic fix)
Merge pull request #7 from benoit-pereira-da-silva/master

Compilation warning and academic normalization