Added isEmpty property