Added linux/mac stubs for compatibility.