Add pod_permission and pod_expression fields. Add can_be_generated
method which evaluate these fields on a given context.