Added possibility to discard model [Issue #8]