 			m_commands[name] = null;
 		}
 		
-		public function addCommand(name:String, command:Function) : void
+		public function addCommand(name:String, command:Class) : void
 		{
 			if (m_commands[name] != null)
 			{

//
////////////////////////////////////////////////////////////////////////////////

package reprise.core { 
	import reprise.commands.ICommand;
	import reprise.events.EventBroadcaster;
	import reprise.ui.DocumentView;
	
	import flash.events.Event;
	
	
	public class FrontController
	{
	
	
		/***************************************************************************
		*							protected properties							   *
		***************************************************************************/
		protected	var m_commands : Object;
		protected var m_view : DocumentView;
		
		

			commandToExec.execute(event);
		}	
		
		public function addGlobalCommand(name:String, command:Class) : void
		{
			if (m_commands[name] != null)
			{
