Updated to correct mistake in API.
Version bumped to 0.12.0-pre2.