Added API and postThemes functions(2)