Removed duplicate declaration of getStyle()