Manually merged the following changes from klp-dev branch and fixed merge conflicts: 78cfdf31 d0581d27 1f92d7fc 0baec410 24541255 Change-Id: I426729bb90a26746bfff3a0e4a03ea9f37972528