Removing a module

How is the module mounted? Surface mount leads? Through-hole pins? Castellated edged?