Added undocumented functionality.