Refactored the annotations and added some examples.