Added python interfaces