[#9] added acceptableTypes and acceptableType methods