refactor Swift::Helpers::Init