Moved attempt into Stormpath class.