add expired to Message prototype