Library: form management