Miscelaneous examples fixes