Add a `has` hook for the container