Adds keepKeys parameter to substitute method