Rewrite modifying SDP section. Fixes #8