Fix not passing custom variables when using the
	object helper