Made registration optional.

Signed-off-by: IUnknown68 <arne@salsitasoft.com>