Add some prototypes func in smiles.py