Added type verification for method

Added type verification for method bootstrap