Move data fetching out of the initializer