Merge "Add flags word to initialization." into klp-dev