Added Darwin implementation (maports).