refs #4134 added generic API hook