Convert theme hooks (defined by hook_theme()) to be objects