     public func drawTabControlBezel(frame frame: NSRect) {
         Colors.tabControlBackground.setFill()
         NSRectFill(frame)
-
-        drawBottomBorder(frame: frame)
+        self.drawBottomBorder(frame: frame)
     }
 
     private func drawBottomBorder(frame frame: NSRect) {

    public func drawTabBezel(frame frame: NSRect, position: TabButtonPosition, isSelected: Bool) {

        let height: CGFloat = PaddedHeight.fromFrame(frame).value
        let xOffset = height / 2 // 45˚ angle
        let lowerLeft = frame.origin + Offset(x: 0, y: frame.height)
        let upperLeft = lowerLeft + Offset(x: xOffset, y: -height)
        let lowerRight = lowerLeft + Offset(x: frame.width, y: 0)
        let upperRight = lowerRight + Offset(x: -xOffset, y: -height)

        let path = NSBezierPath()
        path.moveToPoint(lowerLeft)
        path.lineToPoint(upperLeft)
        path.lineToPoint(upperRight)
        path.lineToPoint(lowerRight)
        path.lineWidth = 1

        Colors.tabBackground(isSelected).setFill()

    }

    public func tabButtonOffset(position position: TabButtonPosition) -> Offset {
        switch position {
        case .first: return NSPoint()
        case .middle, .last: return NSPoint(x: -10, y: 0)
