You can’t add the method in the system console.
Please check the documentation.
And also check the video.