Added some access functions for external control.