Remove extra `end` statement from example