clean a bit console API to remove useless function and provide clear autocompletion