Common functions for all packages from package tools