Further simplify `getProperties`

Closes #4.