Add some functions.

Signed-off-by: 80LevelElf <salahutd@gmail.com>