Adding some basic init functionality to the iOS side.