Basic close functionality and interface implemented.