Added platform-specific init support