Added new options checkable, selectable and typeful to fix the clear method.