Added max- and min heap properties.