Removed useless code from __init__ method

This code is not needed in production code

Change-Id: Ic1e8e94671070a9dea7c50ea914fe4864210c6c1
Merge "Removed useless code from __init__ method"