implement missing implementation

This is an obviously simplistic implementation, but at least it makes it compile against mitchellh code