Try handling commands first.