Remove deprecated usage of capitalize