Changing to update of internal state from functional call.