Added makeQWObjects function.