Register components correctly