make API for 'W' command more similar to others