1. Use Controller::validateActionId() to define auto-validate rules.
2. Fix bug.
Add status code definition.