Added convenient Credentials class.