Cleaning code. Apple geometry example.