Many changes and details before uploading Apns api to hackage.