Was missing a return in the constructor