This suggestion has been made plenty of times. I would be happy to accept patches, but so far nobody wanted to work on it.