Register and register_handle layouts