change code blocks to reference links for methods