Converted functions to statics.