Remove usage of $code_snippets->user_can()