Modify spec of the functions