Cache some properties