Added directives. Added table model.