Split fetchOperations and PIN verification into separate classes.