Added capitalization function.