Scope public vars to private