Added some checks to klout api module