Changed designated initializer, so it will work with iOS 8