Improved createQML to make the last boolean optional (so you aren't forced to provide false).