Swap 'hasOwnProperty' with 'in' since it is ignoring mixin properties