Moved stylesheet resolve fn element and dependencies to stylesheet