Add support for properties

Specifically, `length`.