Moved element info related hooks together