Added valid and invalid callback examples.