Fix #870: Please explicitly disable serialization in classes that don't support it