Ribs.extend implementation