Add separate validations for different interface types.