Add functions in interface, minor revisions