Implementation for #209

As discussed in https://github.com/rejectedsoftware/vibe.d/issues/209