Adds missing import
Implements suggestion on return value by @alex5imon.