Fix getProperty signature