The SM namespace is within the Service namespace, so this was forward declaring a type that didn't exist.