Consolidated one-line function.