Allow checks for commands from Java