Fix bad reference to Registry