References instead of notnull pointers.
Merge pull request #127 from pleroy/NotNull

References instead of notnull pointers.