Added error for non-theme pojo