remove unused variables from Board#generateObjects