Handeling warnings etc.