Added fix for initialising specialised static const member of template class.
Further bits on pmid registration.