Moved initializations to JSON.