Adds sections and more error codes