Put caption attr also in kwargs
implement .items() function
Apply kwargs also in page cls handler construction