Restrict access to some internal methods.