Add function override snippet