Frame implementation.