Remove code that is redundant for Blackberry 10.