Implemented remaining functions.