Resolves errors when creating new content types
Adds better error reporting
Fixes issue with updating pages