Created some methods.

Signed-off-by: stroju <stroju@gmail.com>