Fixes handling of references in the register (see #11)
Updated LICENSE