Changed function signatures to be compatible with parent class.