Refactored registry forms API.