Fixed wrong (Boolean) type and added missing type on parameter with default value.