Convert initialize to use schema