Change indentation.
Fix member initializer list.
Add initialized_ flag to class Pass.
Check if already initialized.
Rename initialize to init_ressources.