Add registry extension methods