Use methods instead of direct variable references