Forgot to initialize private name variable from parameter in foreign key constructor.