Move decorator to the right place.