Fixed syntax bug in model and added string representations