Added types to registry and force cleanup to RTAI

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>