Added Edit API functionality.