Simplify footer impl.
Extract register block into its own include.