 				outlet.el.attr('src', @[name])
 			else
 				outlet.el.html(@[name])
+				
+		@
 
 	set: (name, value) ->
 		@[name] = value
 		@updateDomFromOutlet(name)
-		value
+		@
 
 	appendTo: (el) ->
 		@el.appendTo(el)

					@actions[action[0]] = []

				$el.on(action[0], (e) -> self.delegateAction(e, @))
				#console.log 'action', action[0], action[1], action[2]

				@actions[action[0]].push({el: $el, function: action[1], parameters: action[2]})


			else
				@[name] = outlet.el.html()
				#Other el types
		
		@

	updateDomFromOutlet: (name) ->
		outlet = @outlets[name]
		return @ if not outlet

		switch outlet.type
			#when 'default'
