Standardized certain functions.