Added tiny registry stuff