Splitted meta_box_details method into sub-methods