Entity action handling.