Try to get rid of this (ugly) pattern.