Thread security, Deprecated constructors removed and print statements added