object: inherit static/class properties when including other objects