Lazy-loading of properties as a workaround for PHP < 8.4.