Added type param to getProperty