Removing unused typedef from example code