Extracting out handlers