 			}
 			return humanize(underscore(word)).replace(/\b([a-z])/g, f);
 		}
+		public static var titlecase:Function = titleize;
 
 		public static function underscore (CamelCaseWord:String) :String
 		{

			}
		}

		// capitalize first letter of first word
		// lowercase all other letters
		public static function capitalize (word:String) :String
		{
			if (word.length > 0)

			return qualifiedClassName.replace(/^.*::/, '');
		}

		/**
		*	Inflector.humanize(lower_case_and_underscored_word)
		*	Capitalizes the first word and turns underscores into spaces and strips a trailing "_id", if any.
		*	Like titleize, this is meant for creating pretty output.
		*
		*	Examples:
		* 		Inflector.humanize("employee_salary") # => "Employee salary"
 		*		Inflector.humanize("author_id")       # => "Author"
 		**/
		public static function humanize (word:String) :String
		{
			return capitalize(word.replace(/_id$/, '').replace(/_/g, ' '));
