Implemented keywords stuff for profiles. Refs #634.
Merge pull request #738 from capooti/issue-634

Implemented keywords stuff for profiles. Refs #634.