Made internal structs private