Fixed mixed up APIs