Fixed style on hooks
Added registry