Everything is double-indented in this function.