moved functions.
removed return this statement and added Chainable decoration.