Fixed compiler errors/warnings

Imports were missing to compile