Make Q wrapper for get sources functionality and move it to separate method