Converted to portable library
Always registered AsSelf