Add code for the simple registration extension