Adapt style for API 14