Adds more error handling asserts