Add missing doc and validation.