Refactor camelcase function.
Added setMetaAll method to improve performance.