Will work only with frames.