Add extension support
Add preferences