Fix multiple TODOs and issues in the v0.5 compliance suite.