BM: Added in missing files from the template code.