Adding support for length property