Efficient Programming with Components