Added viaCallback

See #4832.