Code refactor: Add #lazy_cached_variable method