Added my own GetCM.

Signed-off-by: David Rodero <david@codiguiel.net>