Deleted useless lines
Added 'removeFunction'
Added 'clearModel' function