Implementation of secondary actions hook