Added 'merge' parameter to setClass.
Added support for strings on error related functions signature.
Implemented model instance naming.