Added inline docs to security listener