Updated error message
Added support for [] as default value
Renamed markAsCreated to more accurate markAsAttached (BC break)
Revised exceptions messages