Compatible with 3.7

Signed-off-by: Nick Ciske <nick@thoughtrefinery.com>