Fix method calls in static properties