Deleted set and getText methods as well as setCaption method, and defined them as properties of the WC. (Tested)
deleted setWidth and Height methods as well as references to setText method and the setHiddenValue method. Created 3 properties for width, height and hidden. (hidden word is extended from input property so can't use hidden as property name instead used hiddenval).
enable and disable methods deleted, as well as setPlaceHolder method. instead created 2 new object properties 'enabled' and 'placeholder'
All methods and properties tested and working