Added method to get properties