Implementing read detector for function calls [ci skip]