Fixed the SID.create method and removed the Error class since we no longer use it.