Simplified the style node methods.