Added Credentials.close to interface