Added GetProperties method