[FIX] Using new-style class and remove shebang from API files.
[FIX] int/str comparison and add doc/example.
[DOC] Group parameter.
[DOC] Change example.bb