Fix minor issue on parametrized returned type.