Compatibility

Add patches that lower dependency constrains and workarounds haddock problems.