Small typos. Should be : 
- "[…] is replaced […]"
- "[…] an AccessDeniedException which masked […]".