transformProperty now accepts a context