Completed all the incomplete methods.