diff --git a/aframe.js b/aframe.js
index <HASH>..<HASH> 100644
--- a/aframe.js
+++ b/aframe.js
@@ -1548,16 +1548,20 @@ var aFrame = function(){
 		},
 		database	: database,
 		el		: el,
+		fx		: fx,
+		json		: json,
+		label		: label,
 		listener	: {
 			add	: observer.add,
 			list	: observer.list,
 			remove	: observer.remove,
 			replace	: observer.replace
 		},
-		fx		: fx,
-		json		: json,
-		label		: label,
-		number		: number,
+		number          : number,
+		state		: {
+			header  : null,
+			pattern : /^.*$/
+		},
 		spinner		: {
 			create	: client.spinner,
 			url	: null
Refactored the closure by moving listener{} and created state{} which will be used to implement stateful binding in observer{}.