$d = "Members of the class exposed to scripting:`n"

$d += $app | get-member | where-object {
	($_.Name -ne 'ToString') -and
	($_.Name -ne 'Equals') -and
    ($_.Name -ne 'GetHashCode') -and
	($_.Name -ne 'GetType')} |
	select-object Definition |
	out-string

$app.Msg($d)