Switch conditional order since 'void' is a primitive class.