Yang:
    add some basic methods.