This should happen in .setElement so that it gets applied to an element set after construction. Could also use a comment to explain why this is necessary.