Missing imports, typo. Now compiles and all tests pass