BB10 support added by @adrianmaurer