Implemented mock definition.