Accept extra property to models definition.
Add documentation about the definition fields.
@leplatrem review.