Moves property handling to a more generic styles module