Add warning commands, closes #4