Fix the return type for modes lists