Setting functionality added.