Function names changed and function 'ds.login' added.