Add .hasOwnProperty checks to avoid using .content and .properties inherited from the parent prototype