Add and remove class util methods now trim string