Move method call from class/factory method to init (Swift needs this).