Add missing registration logs, fix indents.