Added example with a model.
Added example with a select.
Fixed correct method calls.