Use legislation accessors (instead of _P) for lgtm functions.