There is already a feature request that looks like it would satisfy what you are looking for. You may wish to vote for this feature request: