Pass the model as a symbol
Fix block creation bug