Fixed some errors in some __init__ methods.