Fixed errors so the work from the previous commit compiles.