Even Barney Stinson would approve.