Better default function snippet.