Fix double creation of properties

Fixes #11