Added wallet functions.