Make some structs and functions public